Skip to content

Upgrade mise to require using aube - #105

Merged
jayvdb merged 9 commits into
mainfrom
aube
Aug 4, 2026
Merged

Upgrade mise to require using aube#105
jayvdb merged 9 commits into
mainfrom
aube

Conversation

@jayvdb

@jayvdb jayvdb commented Aug 3, 2026

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • Bug Fixes

    • Inference failures are now reported without stopping subsequent detection iterations.
    • Status and event timestamps are consistently recorded in UTC.
    • Improved npm package resolution for modern workspace and symlink layouts.
  • Updates

    • Updated the WebAssembly runtime to Wasmtime 47.0.3.
    • Added workspace support for improved package and dependency management.
  • Chores

    • Enhanced security scanning, coverage workflows, and build disk-space management.
    • Updated development tooling and documented setup requirements.

@coderabbitai

coderabbitai Bot commented Aug 3, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 9a198881-bc8c-431f-b649-fcab8e29be5c

📥 Commits

Reviewing files that changed from the base of the PR and between 5a1467d and 77cf4d0.

📒 Files selected for processing (1)
  • .github/workflows/docker-linux.yaml

📝 Walkthrough

Walkthrough

The pull request updates pnpm and OSV-Scanner configuration, advances mise and Wasmtime versions, adapts coverage and Windows workflows, models mise npm symlinks in tests, and updates Python service timestamps and inference failure handling.

Changes

Repository tooling and dependency scanning

Layer / File(s) Summary
Workspace and dependency scanning
.dockerignore, .editorconfig, .github/workflows/dependencies.yaml, .mise/config*.toml, package.json, pnpm-workspace.yaml, config/*
Adds pnpm workspace and lockfile handling, separates Rust and npm OSV-Scanner tasks, pins jqfmt, and updates related lint configuration.
Toolchain and coverage alignment
.github/actions/install-mise/action.yaml, .mise/config.coverage.toml, Cargo.toml, Dockerfile, README.md, CLAUDE.md, services/ws-wasi-runner/Cargo.toml
Updates mise and Wasmtime versions. Coverage tasks support new nightly Cargo layouts and ONNX Runtime paths.

CI and runtime behavior

Layer / File(s) Summary
Windows build and cleanup flow
.github/actions/free-disk-space-windows/action.yaml, .github/workflows/docker-*.yaml, .mise/config.windows.toml, Dockerfile*, services/ws-server/Dockerfile
Adds configurable Windows cleanup, standardizes Windows test builds, disables incremental Cargo compilation, and updates Windows container identity handling.
mise npm symlink layout
libs/edge-toolkit/src/config.rs, libs/edge-toolkit/tests/npm_mod.rs, services/modules/tests/symlinks.rs
Documents and tests the two-hop mise npm symlink layout through a virtual store.
Python service error and timestamp handling
services/ws-modules/pydata1/*, services/ws-modules/pyeye1/*, services/ws-modules/pyface1/*
Uses UTC timestamps, documents intentional broad exception handling, and tests continued inference iterations after failures.
Lint and container cleanup
services/ws-pyo3-runner/python/*, ruff.toml, Dockerfile*
Uses implicit returns in callback handlers and expands lint exceptions for generated code and Windows-specific commands.

Estimated code review effort: 4 (Complex) | ~45 minutes

Possibly related PRs

Suggested reviewers: pierre-tenedero

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Upgrade mise to require using aube' directly aligns with the pull request's primary objective to upgrade mise version and integrate aube-based npm package management throughout the codebase.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch aube

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@deepsource-io

deepsource-io Bot commented Aug 3, 2026

Copy link
Copy Markdown

DeepSource Code Review

We reviewed changes in cd94cb4...77cf4d0 on this pull request. Below is the summary for the review, and you can see the individual issues we found as inline review comments.

See full review on DeepSource ↗

PR Report Card

Overall Grade   Security  

Reliability  

Complexity  

Hygiene  

Coverage  

Code Review Summary

Analyzer Status Updated (UTC) Details
C# Aug 4, 2026 8:57a.m. Review ↗
C & C++ Aug 4, 2026 8:57a.m. Review ↗
Docker Aug 4, 2026 8:57a.m. Review ↗
Java Aug 4, 2026 8:57a.m. Review ↗
JavaScript Aug 4, 2026 8:57a.m. Review ↗
Python Aug 4, 2026 8:57a.m. Review ↗
Rust Aug 4, 2026 8:57a.m. Review ↗
Secrets Aug 4, 2026 8:57a.m. Review ↗
Code coverage Aug 4, 2026 9:32a.m. Review ↗

Code Coverage Summary

Language Line Coverage (New Code) Line Coverage (Overall)
Aggregate
83.3%
58.2%
[▲ up 0.4% from main]
Python
83.3%
89.1%
[▲ up 3.8% from main]
Rust -
55.7%
[▲ up 0.1% from main]

➟ Additional coverage metrics may have been reported. See full coverage report ↗


Important

AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.

@codacy-production

codacy-production Bot commented Aug 3, 2026

Copy link
Copy Markdown

Not up to standards ⛔

🔴 Issues 3 high · 3 medium

Alerts:
⚠ 6 issues (≤ 0 issues of at least minor severity)

Results:
6 new issues

Category Results
BestPractice 3 medium
ErrorProne 3 high

View in Codacy

🟢 Metrics 13 complexity · -1 duplication

Metric Results
Complexity 13
Duplication -1

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@codecov

codecov Bot commented Aug 3, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 83.33333% with 1 line in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
services/ws-modules/pydata1/pydata1/__init__.py 0.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@jayvdb jayvdb changed the title Require using aube Upgrade mise to require using aube Aug 4, 2026
@jayvdb
jayvdb marked this pull request as ready for review August 4, 2026 04:12

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
services/ws-modules/pyeye1/pyeye1/eye_detection.py (1)

433-433: 🗄️ Data Integrity & Integration | 🔵 Trivial | ⚡ Quick win

Use ISO 8601 for machine-facing detection timestamps.

processed_at is read as a string when the WebSocket Rust consumer logs inference details, so avoid %X for JSON payloads: it omits the date and can be locale-dependent. Use datetime.now(timezone.utc).isoformat(timespec="seconds") for pyeye1.py#L480, pyface1.py#L286, and the corresponding DetectionSummary in face-detection/src/lib.rs. Keep display-only processed at: text explicit if it must stay time-only.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@services/ws-modules/pyeye1/pyeye1/eye_detection.py` at line 433, Replace the
machine-facing processed_at formatting with UTC ISO 8601 timestamps using
seconds precision. Update services/ws-modules/pyeye1/pyeye1/eye_detection.py at
lines 433-433 and 480-480, services/ws-modules/pyface1/pyface1/face_detection.py
at line 286, and the corresponding DetectionSummary in
face-detection/src/lib.rs; retain time-only formatting only for explicitly
display-only “processed at:” text.

Source: Linters/SAST tools

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In `@services/ws-modules/pyeye1/pyeye1/eye_detection.py`:
- Line 433: Replace the machine-facing processed_at formatting with UTC ISO 8601
timestamps using seconds precision. Update
services/ws-modules/pyeye1/pyeye1/eye_detection.py at lines 433-433 and 480-480,
services/ws-modules/pyface1/pyface1/face_detection.py at line 286, and the
corresponding DetectionSummary in face-detection/src/lib.rs; retain time-only
formatting only for explicitly display-only “processed at:” text.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 663888cf-0bd3-445c-956c-1bfa20213a74

📥 Commits

Reviewing files that changed from the base of the PR and between cd94cb4 and 5a1467d.

⛔ Files ignored due to path filters (3)
  • Cargo.lock is excluded by !**/*.lock
  • generated/zig-rest/src/et_rest_client.zig is excluded by !**/generated/**
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (40)
  • .dockerignore
  • .editorconfig
  • .github/actions/free-disk-space-windows/action.yaml
  • .github/actions/install-mise-tools/action.yaml
  • .github/actions/install-mise/action.yaml
  • .github/workflows/dependencies.yaml
  • .github/workflows/docker-linux.yaml
  • .github/workflows/docker-windows.yaml
  • .gitignore
  • .mise/config.coverage.toml
  • .mise/config.js.toml
  • .mise/config.toml
  • .mise/config.windows.toml
  • CLAUDE.md
  • Cargo.toml
  • Dockerfile
  • Dockerfile.nanoserver
  • Dockerfile.windows
  • README.md
  • config/ast-grep/rules/doc-summary-ends-with-period.yaml
  • config/deny.toml
  • config/dprint.jsonc
  • config/ls-lint.yaml
  • config/osv-scanner.toml
  • config/typos.toml
  • libs/edge-toolkit/src/config.rs
  • libs/edge-toolkit/tests/npm_mod.rs
  • package.json
  • pnpm-workspace.yaml
  • ruff.toml
  • services/modules/tests/symlinks.rs
  • services/ws-modules/pydata1/pydata1/__init__.py
  • services/ws-modules/pyeye1/pyeye1/eye_detection.py
  • services/ws-modules/pyeye1/tests/test_run_workflow.py
  • services/ws-modules/pyface1/pyface1/face_detection.py
  • services/ws-modules/pyface1/tests/test_face_detection.py
  • services/ws-pyo3-runner/python/fanout.py
  • services/ws-pyo3-runner/python/storage_pingpong.py
  • services/ws-server/Dockerfile
  • services/ws-wasi-runner/Cargo.toml
💤 Files with no reviewable changes (4)
  • .dockerignore
  • config/osv-scanner.toml
  • .gitignore
  • .github/actions/install-mise-tools/action.yaml

@jayvdb
jayvdb requested a review from pierre-tenedero August 4, 2026 11:09
@jayvdb
jayvdb merged commit d8d42f9 into main Aug 4, 2026
63 of 67 checks passed
@jayvdb
jayvdb deleted the aube branch August 4, 2026 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants